﻿using Games.Common;
using Games.Data;

namespace Games.FlipBlocks
{
    class FlipRecord : GameRecords
    {
        public int Score { get; set; }

        public override Record Convert()
        {
            return new Record
            {
                Message = $"得分 {Score}， 用时 {Utils.FormatTime((int)Duration)}",
                TimeString = CreateTime.ToString("yyyy-MM-dd HH:mm")
            };
        }
    }
}
